#ifndef __SONIC_H
#define __SONIC_H
#include "common.h"


typedef enum {
  TxStatus =0,
  RxStatus =1,
}SonicTypeDef;

extern void Sonic_RxInit();
extern void Sonic_RxCtrl(uint8 choose);
extern void Sonic_TxInit();
extern void Sonic_TxCtrl(uint8 txCtrl);
extern uint8 Sonic_GetDisStatus(SonicTypeDef sonicStatus);
extern uint16 Sonic_GetDistance();
#endif